#pragma once
#include "../Math/Vector.h"
#include "../Primitives/IPrimitive.h"
class ILight{
public:
	virtual void calcColor(Vec3& pixelPos,Vec3& normal,COLOR& color) = 0;
};

class Material{
public:
	Material():ambient(1),diffuse(1),specular(1){};
	~Material(){};
	float ambient;
	float diffuse;
	float specular;
};

class LightBase:public ILight
{
public:
	LightBase(Vec3 pos,float ambient = 1,float diffuse = 1,float specular = 1);
	~LightBase(void);
	//virtual void calcColor(Vec3& pixelPos,COLOR& color)  = 0;
	Vec3 pos;
	Vec3 ambient;
	Vec3 diffuse;
	Vec3 specular;
};

